package com.thams.entity;

import java.util.Date;

/**
 * SoSomain entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SoSomain implements java.io.Serializable {

	// Fields

	/** 销售订单主表标识 */
	private Integer id;
	/** 销售类型编码 */
	private String cstcode = "01";
	/** 单据日期 */
	private Date ddate = new Date();
	/** 销售订单号 */
	private String csocode;
	/** 客户编码 */
	private String ccusCode;
	/** 部门编码 */
	private String cdepCode = "1";
	/** 业务员编码 */
	private String cpersonCode;
	/** 发运方式编码 */
	private String csccode;
	/** 发货地址 */
	private String ccusOaddress;
	/** 付款条件编码 */
	private String cpayCode;
	private String cexchName = "人民币";
	/** 汇率 */
	private Float iexchRate = new Float("1");
	/** 表头税率 */
	private Float itaxRate = new Float("17");
	/** 定金 */
	private Double imoney;
	/** 备注 */
	private String cmemo;
	/** 状态（0-未审核；1-已审核） */
	private Short istatus;
	/** 制单人 */
	private String cmaker = "网络商城";
	/** 审核人 */
	private String cverifier;
	/** 关闭人 */
	private String ccloser;
	/** 是否整单打折 */
	private Byte bdisFlag = 0;
	/** 自定义项1 */
	private String cdefine1;
	/** 自定义项2 */
	private String cdefine2;
	/** 自定义项3 */
	private String cdefine3;
	/** 自定义项4 */
	private Date cdefine4;
	/** 自定义项5 */
	private Integer cdefine5;
	/** 自定义项6 */
	private Date cdefine6;
	/** 自定义项7 */
	private Float cdefine7;
	/** 自定义项8 */
	private String cdefine8;
	/** 自定义项9 */
	private String cdefine9;
	/** 自定义项10 */
	private String cdefine10;
	/** 退货标志（1-退货；0-正常） */
	private Byte breturnFlag = 0;
	/** 客户名称 */
	private String ccusName ;
	/** 是否生成物料需求计划 */
	private Byte border = 0;
	/** 单据模版号 */
	private Integer ivtid = 95;
	/** 时间戳 */
	private String ufts;
	/** 变更人 */
	private String cchanger;
	/** 业务类型 */
	private String cbusType = "普通销售";
	/** 信用审核人 */
	private String ccreChpName;
	/** 自定义项11 */
	private String cdefine11;
	/** 自定义项12 */
	private String cdefine12;
	/** 自定义项13 */
	private String cdefine13;
	/** 自定义项14 */
	private String cdefine14;
	/** 自定义项15 */
	private Integer cdefine15;
	/** 自定义项16 */
	private Float cdefine16;
	/** 商机编号 */
	private String coppcode;
	/** 锁定人 */
	private String clocker;
	/** 预完工日期 */
	private Date dpreMoDateBt = new Date();
	/** 预发货日期 */
	private Date dpreDateBt = new Date();
	/** 收付款协议 */
	private String cgatheringplan;
	/** 发货地址编码 */
	private String caddcode;
	/** 审核状态 */
	private Integer iverifystate = 0;
	/** 打回次数 */
	private Short ireturncount;
	/** 是否控制工作流 */
	private Short iswfcontrolled = 0;
	/** 信用审核状态 */
	private String icreditstate;
	/** 修改人 */
	private String cmodifier;
	/** 修改日期 */
	private Date dmoddate;
	/** 审核日期 */
	private Date dverifydate;
	/** 客户联系人 */
	private String ccusperson;
	/** 制单时间 */
	private Date dcreatesystime = new Date();
	/** 审核时间 */
	private Date dverifysystime;
	/** 修改时间 */
	private Date dmodifysystime;
	/** 流程id */
	private Integer iflowid;
	/** 现款结算 */
	private Byte bcashsale = 0;
	/** 收款单号 */
	private String cgathingcode;
	/** 变更审批人 */
	private String cchangeVerifier;
	/** 变更审批日期 */
	private Date dchangeVerifyDate;
	/** 变更审批时间 */
	private Date dchangeVerifyTime;
	/** outid */
	private String outid;

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCstcode() {
		return this.cstcode;
	}

	public void setCstcode(String cstcode) {
		this.cstcode = cstcode;
	}

	public Date getDdate() {
		return this.ddate;
	}

	public void setDdate(Date ddate) {
		this.ddate = ddate;
	}

	public String getCsocode() {
		return this.csocode;
	}

	public void setCsocode(String csocode) {
		this.csocode = csocode;
	}

	public String getCcusCode() {
		return this.ccusCode;
	}

	public void setCcusCode(String ccusCode) {
		this.ccusCode = ccusCode;
	}

	public String getCdepCode() {
		return this.cdepCode;
	}

	public void setCdepCode(String cdepCode) {
		this.cdepCode = cdepCode;
	}

	public String getCpersonCode() {
		return this.cpersonCode;
	}

	public void setCpersonCode(String cpersonCode) {
		this.cpersonCode = cpersonCode;
	}

	public String getCsccode() {
		return this.csccode;
	}

	public void setCsccode(String csccode) {
		this.csccode = csccode;
	}

	public String getCcusOaddress() {
		return this.ccusOaddress;
	}

	public void setCcusOaddress(String ccusOaddress) {
		this.ccusOaddress = ccusOaddress;
	}

	public String getCpayCode() {
		return this.cpayCode;
	}

	public void setCpayCode(String cpayCode) {
		this.cpayCode = cpayCode;
	}

	public String getCexchName() {
		return this.cexchName;
	}

	public void setCexchName(String cexchName) {
		this.cexchName = cexchName;
	}

	public Float getIexchRate() {
		return this.iexchRate;
	}

	public void setIexchRate(Float iexchRate) {
		this.iexchRate = iexchRate;
	}

	public Float getItaxRate() {
		return this.itaxRate;
	}

	public void setItaxRate(Float itaxRate) {
		this.itaxRate = itaxRate;
	}

	public Double getImoney() {
		return this.imoney;
	}

	public void setImoney(Double imoney) {
		this.imoney = imoney;
	}

	public String getCmemo() {
		return this.cmemo;
	}

	public void setCmemo(String cmemo) {
		this.cmemo = cmemo;
	}

	public Short getIstatus() {
		return this.istatus;
	}

	public void setIstatus(Short istatus) {
		this.istatus = istatus;
	}

	public String getCmaker() {
		return this.cmaker;
	}

	public void setCmaker(String cmaker) {
		this.cmaker = cmaker;
	}

	public String getCverifier() {
		return this.cverifier;
	}

	public void setCverifier(String cverifier) {
		this.cverifier = cverifier;
	}

	public String getCcloser() {
		return this.ccloser;
	}

	public void setCcloser(String ccloser) {
		this.ccloser = ccloser;
	}

	public Byte getBdisFlag() {
		return this.bdisFlag;
	}

	public void setBdisFlag(Byte bdisFlag) {
		this.bdisFlag = bdisFlag;
	}

	public String getCdefine1() {
		return this.cdefine1;
	}

	public void setCdefine1(String cdefine1) {
		this.cdefine1 = cdefine1;
	}

	public String getCdefine2() {
		return this.cdefine2;
	}

	public void setCdefine2(String cdefine2) {
		this.cdefine2 = cdefine2;
	}

	public String getCdefine3() {
		return this.cdefine3;
	}

	public void setCdefine3(String cdefine3) {
		this.cdefine3 = cdefine3;
	}

	public Date getCdefine4() {
		return this.cdefine4;
	}

	public void setCdefine4(Date cdefine4) {
		this.cdefine4 = cdefine4;
	}

	public Integer getCdefine5() {
		return this.cdefine5;
	}

	public void setCdefine5(Integer cdefine5) {
		this.cdefine5 = cdefine5;
	}

	public Date getCdefine6() {
		return this.cdefine6;
	}

	public void setCdefine6(Date cdefine6) {
		this.cdefine6 = cdefine6;
	}

	public Float getCdefine7() {
		return this.cdefine7;
	}

	public void setCdefine7(Float cdefine7) {
		this.cdefine7 = cdefine7;
	}

	public String getCdefine8() {
		return this.cdefine8;
	}

	public void setCdefine8(String cdefine8) {
		this.cdefine8 = cdefine8;
	}

	public String getCdefine9() {
		return this.cdefine9;
	}

	public void setCdefine9(String cdefine9) {
		this.cdefine9 = cdefine9;
	}

	public String getCdefine10() {
		return this.cdefine10;
	}

	public void setCdefine10(String cdefine10) {
		this.cdefine10 = cdefine10;
	}

	public Byte getBreturnFlag() {
		return this.breturnFlag;
	}

	public void setBreturnFlag(Byte breturnFlag) {
		this.breturnFlag = breturnFlag;
	}

	public String getCcusName() {
		return this.ccusName;
	}

	public void setCcusName(String ccusName) {
		this.ccusName = ccusName;
	}

	public Byte getBorder() {
		return this.border;
	}

	public void setBorder(Byte border) {
		this.border = border;
	}

	public Integer getIvtid() {
		return this.ivtid;
	}

	public void setIvtid(Integer ivtid) {
		this.ivtid = ivtid;
	}

	public String getUfts() {
		return this.ufts;
	}

	public void setUfts(String ufts) {
		this.ufts = ufts;
	}

	public String getCchanger() {
		return this.cchanger;
	}

	public void setCchanger(String cchanger) {
		this.cchanger = cchanger;
	}

	public String getCbusType() {
		return this.cbusType;
	}

	public void setCbusType(String cbusType) {
		this.cbusType = cbusType;
	}

	public String getCcreChpName() {
		return this.ccreChpName;
	}

	public void setCcreChpName(String ccreChpName) {
		this.ccreChpName = ccreChpName;
	}

	public String getCdefine11() {
		return this.cdefine11;
	}

	public void setCdefine11(String cdefine11) {
		this.cdefine11 = cdefine11;
	}

	public String getCdefine12() {
		return this.cdefine12;
	}

	public void setCdefine12(String cdefine12) {
		this.cdefine12 = cdefine12;
	}

	public String getCdefine13() {
		return this.cdefine13;
	}

	public void setCdefine13(String cdefine13) {
		this.cdefine13 = cdefine13;
	}

	public String getCdefine14() {
		return this.cdefine14;
	}

	public void setCdefine14(String cdefine14) {
		this.cdefine14 = cdefine14;
	}

	public Integer getCdefine15() {
		return this.cdefine15;
	}

	public void setCdefine15(Integer cdefine15) {
		this.cdefine15 = cdefine15;
	}

	public Float getCdefine16() {
		return this.cdefine16;
	}

	public void setCdefine16(Float cdefine16) {
		this.cdefine16 = cdefine16;
	}

	public String getCoppcode() {
		return this.coppcode;
	}

	public void setCoppcode(String coppcode) {
		this.coppcode = coppcode;
	}

	public String getClocker() {
		return this.clocker;
	}

	public void setClocker(String clocker) {
		this.clocker = clocker;
	}

	public Date getDpreMoDateBt() {
		return this.dpreMoDateBt;
	}

	public void setDpreMoDateBt(Date dpreMoDateBt) {
		this.dpreMoDateBt = dpreMoDateBt;
	}

	public Date getDpreDateBt() {
		return this.dpreDateBt;
	}

	public void setDpreDateBt(Date dpreDateBt) {
		this.dpreDateBt = dpreDateBt;
	}

	public String getCgatheringplan() {
		return this.cgatheringplan;
	}

	public void setCgatheringplan(String cgatheringplan) {
		this.cgatheringplan = cgatheringplan;
	}

	public String getCaddcode() {
		return this.caddcode;
	}

	public void setCaddcode(String caddcode) {
		this.caddcode = caddcode;
	}

	public Integer getIverifystate() {
		return this.iverifystate;
	}

	public void setIverifystate(Integer iverifystate) {
		this.iverifystate = iverifystate;
	}

	public Short getIreturncount() {
		return this.ireturncount;
	}

	public void setIreturncount(Short ireturncount) {
		this.ireturncount = ireturncount;
	}

	public Short getIswfcontrolled() {
		return this.iswfcontrolled;
	}

	public void setIswfcontrolled(Short iswfcontrolled) {
		this.iswfcontrolled = iswfcontrolled;
	}

	public String getIcreditstate() {
		return this.icreditstate;
	}

	public void setIcreditstate(String icreditstate) {
		this.icreditstate = icreditstate;
	}

	public String getCmodifier() {
		return this.cmodifier;
	}

	public void setCmodifier(String cmodifier) {
		this.cmodifier = cmodifier;
	}

	public Date getDmoddate() {
		return this.dmoddate;
	}

	public void setDmoddate(Date dmoddate) {
		this.dmoddate = dmoddate;
	}

	public Date getDverifydate() {
		return this.dverifydate;
	}

	public void setDverifydate(Date dverifydate) {
		this.dverifydate = dverifydate;
	}

	public String getCcusperson() {
		return this.ccusperson;
	}

	public void setCcusperson(String ccusperson) {
		this.ccusperson = ccusperson;
	}

	public Date getDcreatesystime() {
		return this.dcreatesystime;
	}

	public void setDcreatesystime(Date dcreatesystime) {
		this.dcreatesystime = dcreatesystime;
	}

	public Date getDverifysystime() {
		return this.dverifysystime;
	}

	public void setDverifysystime(Date dverifysystime) {
		this.dverifysystime = dverifysystime;
	}

	public Date getDmodifysystime() {
		return this.dmodifysystime;
	}

	public void setDmodifysystime(Date dmodifysystime) {
		this.dmodifysystime = dmodifysystime;
	}

	public Integer getIflowid() {
		return this.iflowid;
	}

	public void setIflowid(Integer iflowid) {
		this.iflowid = iflowid;
	}

	public Byte getBcashsale() {
		return this.bcashsale;
	}

	public void setBcashsale(Byte bcashsale) {
		this.bcashsale = bcashsale;
	}

	public String getCgathingcode() {
		return this.cgathingcode;
	}

	public void setCgathingcode(String cgathingcode) {
		this.cgathingcode = cgathingcode;
	}

	public String getCchangeVerifier() {
		return this.cchangeVerifier;
	}

	public void setCchangeVerifier(String cchangeVerifier) {
		this.cchangeVerifier = cchangeVerifier;
	}

	public Date getDchangeVerifyDate() {
		return this.dchangeVerifyDate;
	}

	public void setDchangeVerifyDate(Date dchangeVerifyDate) {
		this.dchangeVerifyDate = dchangeVerifyDate;
	}

	public Date getDchangeVerifyTime() {
		return this.dchangeVerifyTime;
	}

	public void setDchangeVerifyTime(Date dchangeVerifyTime) {
		this.dchangeVerifyTime = dchangeVerifyTime;
	}

	public String getOutid() {
		return this.outid;
	}

	public void setOutid(String outid) {
		this.outid = outid;
	}

}
